package com.ky.tms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ky.tms.entity.TmsOil;
import com.ky.tms.exception.PredictableException;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chengkaimao
 * @since 2020-05-13
 */
public interface ITmsOilService extends IService<TmsOil> {
    IPage<TmsOil> page( TmsOil tmsOil, Long limit, Long pages);
    void add (TmsOil tmsOil) throws PredictableException;
    void delete (List<Long> ids);
    void update (TmsOil tmsOil) throws PredictableException;
    void pay(TmsOil tmsOil) throws PredictableException;
    List<TmsOil> selectList(TmsOil tmsOil);
}
